package org.edu.modules.summary.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.baomidou.mybatisplus.extension.toolkit.SqlHelper;
import org.edu.modules.summary.entity.VeCuzCourseSummary;
import org.edu.modules.summary.mapper.VeCuzCourseSummaryMapper;
import org.edu.modules.summary.service.IVeCuzCourseSummaryService;
import org.springframework.stereotype.Service;

@Service
public class VeCuzCourseSummaryServiceImpl
        extends ServiceImpl<VeCuzCourseSummaryMapper, VeCuzCourseSummary>
        implements IVeCuzCourseSummaryService
{
    public boolean saveSummary(VeCuzCourseSummary veCuzCourseSummary)
    {
        return SqlHelper.retBool(Integer.valueOf(((VeCuzCourseSummaryMapper)getBaseMapper()).insert(veCuzCourseSummary)));
    }
}
